<?php include TPLPATH . 'header.html'; ?>
<div class="box">
    <form action="<?php echo jaUrl('app', 'doedit'); ?>" method="post" id="jaform">
        <input type="hidden" name="id" value="<?php echo $detail['id']; ?>" />
        <fieldset>
            <label>ID:</label>
            <?php echo $detail['id']; ?><br class="hid" />
            <label>KEY:</label>
            <?php echo $detail['key']; ?><br class="hid" />
            <p><input type="checkbox" value="1" name="change_key" />更换KEY</p>
            <label>名称:</label>
            <input type="text" value="<?php echo $detail['name']; ?>" name="name" class="small" /><br class="hid" />
            <p>应用的名称</p>
            <label>描述:</label>
            <span class="large_input"><input type="text" value="<?php echo $detail['description']; ?>" name="description" class="large" /></span><br class="hid" />
            <p>对该应用的简单描述</p>
            <label>评论表:</label>
            <input type="text" value="<?php echo $detail['comment_table']; ?>" name="comment_table" readonly="readonly" class="small" /><br class="hid" />
            <p>评论内容存放的表名</p>
            <label>文本表:</label>
            <input type="text" value="<?php echo $detail['text_table']; ?>" name="text_table" readonly="readonly" class="small" /><br class="hid" />
            <p>长文本存放的表名</p>
            <a title="Submit" class="button" href="#" onclick="$('#jaform').submit();"><span>提交</span></a>
            <span class="clear"></span>
        </fieldset>
    </form>
</div>
<?php include TPLPATH . 'footer.html'; ?>
